/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class StateEnum extends StringEnum
{
    public static final String ADDNEW_VALUE = "1";
    public static final String SUBMIT_VALUE = "2";
    public static final String SAVE_VALUE = "3";
    public static final String AUDITING_VALUE = "4";
    public static final String NOTAUDITING_VALUE = "5";
    public static final String TODOCS_VALUE = "6";

    public static final StateEnum addNew = new StateEnum("addNew", ADDNEW_VALUE);
    public static final StateEnum submit = new StateEnum("submit", SUBMIT_VALUE);
    public static final StateEnum save = new StateEnum("save", SAVE_VALUE);
    public static final StateEnum auditing = new StateEnum("auditing", AUDITING_VALUE);
    public static final StateEnum notAuditing = new StateEnum("notAuditing", NOTAUDITING_VALUE);
    public static final StateEnum toDocs = new StateEnum("toDocs", TODOCS_VALUE);

    /**
     * construct function
     * @param String stateEnum
     */
    private StateEnum(String name, String stateEnum)
    {
        super(name, stateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static StateEnum getEnum(String stateEnum)
    {
        return (StateEnum)getEnum(StateEnum.class, stateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(StateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(StateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(StateEnum.class);
    }
}